package br.ufrn.engcomp.comum.dominio;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import br.ufrn.engcomp.arq.dominio.Entidade;

/**
 *
 *@author Marcos Aurelio
 *
 */

@Entity
@Table(name="valor_despesa", schema="comum")
public class ValorDespesa extends Entidade {

	@Column
	private String valor;

	public ValorDespesa() {}
	
	public ValorDespesa(long id, String valor) {
		super();
		this.id = id;
		this.valor = valor;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "id_valor_despesa")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private long id;
	

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getValor() {
		return valor;
	}

	public void setValor(String valor) {
		this.valor = valor;
	}

	
	
	

}
